package com.softer.wxzj.controller;

import com.softer.wxzj.entity.SysDicRateList;
import com.softer.wxzj.service.SysDicRateListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author zcz
 * @date 2019/7/29
 */
@RestController
@RequestMapping("/SysDicRateList")
public class SysDicRateListController {
    @Autowired
    private SysDicRateListService sysDicRateListService;

    /**
     * 查询利率类型列表
     * @return
     */
    @RequestMapping("/getList")
    public List<SysDicRateList> getList(SysDicRateList sysDicRateList) {
        return sysDicRateListService.getList(sysDicRateList);
    }

}
